package cn.tedu.oa.expenses.mapper;

import cn.tedu.oa.expenses.pojo.dto.ExpensesQuery;
import cn.tedu.oa.expenses.pojo.entity.Expenses;
import cn.tedu.oa.expenses.pojo.vo.ExpensesVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ExpensesMapper {
    List<ExpensesVO> select(ExpensesQuery expensesQuery);

    void insert(Expenses expenses);

    void update(Expenses expenses);

    void delete(Integer id);
}
